package twel.probenprophet.base.enums;

public enum Attribute {

	MU("Mut"),
	KL("Klugheit"),
	IN("Intuition"),
	CH("Charisma"),
	FF("Fingerfertigkeit"),
	GE("Gewandtheit"),
	KO("Konstitution"),
	KK("Körperkraft");

	private final String germanName;

	Attribute(String germanName) {
		this.germanName = germanName;
	}

	public String getGermanName() {
		return germanName;
	}

	public static Attribute byGermanName(String name) {
		for (Attribute attribute : values()) {
			if (attribute.getGermanName().equals(name)) {
				return attribute;
			}
		}
		return null;
	}
}
